/**
* @author:kellen
* @contact:xiekellen@hotmail.com
* @company:achivo-gz
* @created on:
* @modified on:
*/

package com.sasis.dao;

import java.util.List;

import com.sasis.dao.Dao;
import com.sasis.model.FlightTransInstruction;

public interface FlightTransInstructionDao extends Dao {

    /**
     * Retrieves all of the flightTransInstructions
     */
    public List getFlightTransInstructions(FlightTransInstruction flightTransInstruction);

    /**
     * Gets flightTransInstruction's information based on primary key. An
     * ObjectRetrievalFailureException Runtime Exception is thrown if 
     * nothing is found.
     * 
     * @param id the flightTransInstruction's id
     * @return flightTransInstruction populated flightTransInstruction object
     */
    public FlightTransInstruction getFlightTransInstruction(final Integer id);

    /**
     * Saves a flightTransInstruction's information
     * @param flightTransInstruction the object to be saved
     */    
    public int saveFlightTransInstruction(FlightTransInstruction flightTransInstruction);

    /**
     * Removes a flightTransInstruction from the database by id
     * @param id the flightTransInstruction's id
     */
    public void removeFlightTransInstruction(FlightTransInstruction flightTransInstruction);
}

